package com.xebest.web.view;

import com.xebest.util.DateUtil;

import java.math.BigDecimal;
import java.text.SimpleDateFormat;

/**
 * @desc: 售后单查询订单列表
 * @author: chenjing
 * @createTime: 2017/8/3 17:28
 * @history:
 * @version:v1.0
 */
public class XeVenAfterSaleOrderView {

    /**
     *订单编号
     */
    private String orderId;

    /**
     * 下单时间
     */
    private String createDate;

    /**
     * 订单状态
     */
    private Integer orderStatus;

    /**
     * 仓库名称
     */
    private String storeName;

    /**
     * 收货人
     */
    private String caConsignee;

    /**
     * 客户账号
     */
    private String loginAccount;

    /**
     * 收货人手机
     */
    private String caPhone;

    /**
     * 省
     */
    private String caProvinceId;

    /**
     * 城市
     */
    private String caCityId;

    /**
     * 地区
     */
    private String caAreaId;

    /**
     * 详细街道地址
     */
    private String caSreet;

    /**
     * 订单金额
     */
    private BigDecimal payAmount;

    /**
     *支付类型 4: 在线支付1：货到付款2：到店自提3：银行汇款
     */
    private Integer payType ;

    /**
     *付款状态  1:已支付,2:未支付
     */
    private Integer payStatus ;


    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getCreateDate() {
        return createDate;
    }

    public void setCreateDate(String createDate) {
        this.createDate = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(DateUtil.toDate(createDate));
    }

    public Integer getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(Integer orderStatus) {
        this.orderStatus = orderStatus;
    }

    public String getStoreName() {
        return storeName;
    }

    public void setStoreName(String storeName) {
        this.storeName = storeName;
    }

    public String getCaConsignee() {
        return caConsignee;
    }

    public void setCaConsignee(String caConsignee) {
        this.caConsignee = caConsignee;
    }

    public String getLoginAccount() {
        return loginAccount;
    }

    public void setLoginAccount(String loginAccount) {
        this.loginAccount = loginAccount;
    }

    public String getCaPhone() {
        return caPhone;
    }

    public void setCaPhone(String caPhone) {
        this.caPhone = caPhone;
    }

    public String getCaProvinceId() {
        return caProvinceId;
    }

    public void setCaProvinceId(String caProvinceId) {
        this.caProvinceId = caProvinceId;
    }

    public String getCaCityId() {
        return caCityId;
    }

    public void setCaCityId(String caCityId) {
        this.caCityId = caCityId;
    }

    public String getCaAreaId() {
        return caAreaId;
    }

    public void setCaAreaId(String caAreaId) {
        this.caAreaId = caAreaId;
    }

    public String getCaSreet() {
        return caSreet;
    }

    public void setCaSreet(String caSreet) {
        this.caSreet = caSreet;
    }

    public BigDecimal getPayAmount() {
        return payAmount;
    }

    public void setPayAmount(BigDecimal payAmount) {
        this.payAmount = payAmount;
    }

    public Integer getPayType() {
        return payType;
    }

    public void setPayType(Integer payType) {
        this.payType = payType;
    }

    public Integer getPayStatus() {
        return payStatus;
    }

    public void setPayStatus(Integer payStatus) {
        this.payStatus = payStatus;
    }
}
